package com.zgscwjm.taobaphelper;

import com.zgscwjm.taobaphelper.exutils.StringUtils;
import com.zgscwjm.taobaphelper.xp.FileManager;

import java.util.HashMap;

/**
 * Created by zgscwjm on 17-2-28.
 */
public class aw implements Runnable {

    final MainActivity mainActivity;
    aw(final MainActivity mainActivity){
        this.mainActivity = mainActivity;
    }
    @Override
    public void run() {
        final String content  = FileManager.readContent("/data/data/com.zgscwjm.taobaphelper/files/input.txt");
        if (!StringUtils.isEmpty(content)){
            final HashMap<String,String> hashMap = new HashMap<String, String>();
            hashMap.put("model",MainActivity.H);
            hashMap.put("mobileKey", FileManager.readKey(this.mainActivity.getApplicationContext()));
            hashMap.put("inputType",content);

        }
    }
}
